home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dirut / snif134.zip / EX1.CTL next >
Text File  |  1991-11-18  |  643b  |  22 lines

  1. ;
  2. ; SNiF example 1 control file
  3. ;
  4. ; Converts all .ZIP archives on current drive to .LZH format
  5. ; PkUnzip and Lha should be in the DOS path
  6. ;
  7. -d                         ; turn off sniffed messages
  8. +w@@                       ; only search current drive
  9. ;
  10. ; Execute these commands when a .ZIP file is found
  11. ;
  12. +xmd _tmp_                 ; make _tmp_ directory
  13. +xpkunzip &f _tmp_         ; unzip archive into it
  14. +xlha m &p&n _tmp_\*.*     ; create new .LZH style archive
  15. +xdel &f                   ; delete original .ZIP file
  16. +xrd _tmp_                 ; and delete _tmp_ directory
  17. ;
  18. ; The actual filemask to snif for
  19. ;
  20. *.ZIP
  21.  
  22.